package com.ocom.payhandle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfRecordProcess;
import com.ocom.common.entity.card.EntityXfRecordWaitpay;
import com.ocom.common.vo.pyhandle.WaitPayListVo;

import java.util.Date;
import java.util.List;

public interface XfRecordWaitpayService extends IService<EntityXfRecordWaitpay> {

    public Boolean saveXfRecordWaitpay(Long comId, EntityXfRecordWaitpay entityXfRecordWaitpay) ;

    public Boolean saveXfRecordWaitpay2(Long comId, EntityXfRecordWaitpay entityXfRecordWaitpay, EntityXfRecordProcess updateXfRecordProcess) ;

    public Boolean updateXfRecordWaitpay(Long comId, Long id,Integer status) ;

    EntityXfRecordWaitpay getRepairPaySum(Long comId, Long pId);

    public List<WaitPayListVo> getXfRecordWaitpay(Long companyId, Long pId);

    public EntityXfRecordWaitpay getXfRecordWaitpayInfo(Long companyId, Long id);

    public Boolean updateXfRecordWaitpayById(Long companyId, EntityXfRecordWaitpay entityXfRecordWaitpay) ;

    public Boolean updateXfRecordWaitpay(Long companyId, String orderNo, Date payTime) ;
}
